package cn.gson.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;



/**
 * The persistent class for the INVE_INFO_TB database table.
 * 
 */
@Entity
@Table(name="INVE_INFO_TB")
@NamedQuery(name="InveInfoTb.findAll", query="SELECT i FROM InveInfoTb i")
public class InveInfoTb implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue=1,allocationSize=1,name="INVE_INFO_TB_INVEINFOID_GENERATOR", sequenceName="SEQ_25")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="INVE_INFO_TB_INVEINFOID_GENERATOR")
	@Column(name="INVE_INFO_ID")
	private long inveInfoId;//主键

	@Column(name="INVE_EMP_ID")
	private String inveEmpId;//操作员

	@Temporal(TemporalType.DATE)
	@Column(name="INVE_INFO_TIME")
	private Date inveInfoTime;//操作时间

	@Column(name="INVE_INFO_TYPE")
	private BigDecimal inveInfoType;//操作类型 出库为0，入库为1

	private String warehouse;//仓库
	@Column(name="INVE_INFO_NUBM")
	private BigDecimal inveinfonumb;

	@Column(name="INVE_ID")
	private Long invetbid;//库存表



	public InveInfoTb() {
	}

	public long getInveInfoId() {
		return this.inveInfoId;
	}

	public void setInveInfoId(long inveInfoId) {
		this.inveInfoId = inveInfoId;
	}

	public String getInveEmpId() {
		return this.inveEmpId;
	}

	public void setInveEmpId(String inveEmpId) {
		this.inveEmpId = inveEmpId;
	}

	public Date getInveInfoTime() {
		return this.inveInfoTime;
	}

	public void setInveInfoTime(Date inveInfoTime) {
		this.inveInfoTime = inveInfoTime;
	}

	public BigDecimal getInveInfoType() {
		return this.inveInfoType;
	}

	public void setInveInfoType(BigDecimal inveInfoType) {
		this.inveInfoType = inveInfoType;
	}

	public String getWarehouse() {
		return this.warehouse;
	}

	public void setWarehouse(String warehouse) {
		this.warehouse = warehouse;
	}

	public Long getInveTbid() {
		return this.invetbid;
	}

	public void setInveTbid(Long invetbid) {
		this.invetbid = invetbid;
	}

	/**
	 * @return the inveinfonumb
	 */
	public BigDecimal getInveinfonumb() {
		return inveinfonumb;
	}

	/**
	 * @param inveinfonumb the inveinfonumb to set
	 */
	public void setInveinfonumb(BigDecimal inveinfonumb) {
		this.inveinfonumb = inveinfonumb;
	}


}